package com.example.prison.service;

import com.example.prison.entity.PersonnelManagement;
import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;

/**
* @author jiang
* @description 针对表【personnel_management】的数据库操作Service
* @createDate 2023-05-26 16:07:49
*/
public interface PersonnelManagementService extends IService<PersonnelManagement> {

    PageInfo<PersonnelManagement> get(int pageNumber, int pageSize, String personnelName);

    int add(PersonnelManagement personnel);

    void delete(Integer[] ids);

    int update(PersonnelManagement personnel, Integer id);

    PersonnelManagement getById(Integer id);

}
